import java.awt.Color;
import java.awt.Dimension;
import javax.swing.JTextField;
import minidraw.framework.*;
import minidraw.standard.StandardDrawing;

class PuzzleFactory implements Factory {
	
	private int GAMESIZE;
	
	public PuzzleFactory(int GAMESIZE) {
		this.GAMESIZE = GAMESIZE;
	}

	public DrawingView createDrawingView( DrawingEditor editor ) {
		DrawingView view = new DrwViewWithColoredBackground(editor, new Dimension(GAMESIZE-1, GAMESIZE-1), Color.WHITE);
		return view;
	}

	public Drawing createDrawing( DrawingEditor editor ) {
		return new StandardDrawing();
	}

	public JTextField createStatusField( DrawingEditor editor ) {
		return null;
	}
}